//
//  oldActivityFirstTableViewCell.m
//  laonianbang
//
//  Created by 勇拓 李 on 18/4/4.
//  Copyright © 2018年 zaiyou. All rights reserved.
//

#import "oldActivityFirstTableViewCell.h"
#import "UIImageView+oldImageView.h"

@interface oldActivityFirstTableViewCell()
@property (weak, nonatomic) IBOutlet UIImageView *img;

@end

@implementation oldActivityFirstTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    _img.layer.cornerRadius = 6.f;
}

- (void)setActivity:(oldActivity *)activity
{
    _activity = activity;
    [_img showImage:activity.pic];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
    self.selectionStyle = UITableViewCellSelectionStyleNone;
}

@end
